package com.zj.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zj.system.pojo.entity.Role;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {
    List<Role> selByUserId(Integer userId);
    int insertByUserId(Integer userId,List<Integer> roles);
    int deleteByUserId(Integer userId);
}
